package com.tuling.jucdemo.hashmap;

/**
 * @author :tangweiliang
 * @date : 2022/11/26 20:24
 * 未来的你会感谢现在努力的自己
 *
 * 链表
 */
public class Node {
    private Object object;
    private Node next;

    public Node(Object object, Node next) {
        this.object = object;
        this.next = next;
    }

    public static void main(String[] args) {
        Node header = new Node(new Object(),null);
        header.next = new Node(new Object(), null);

//      header = new Node(new Object(),header);把下一个节点插入之前一个节点的头部

    }
}
